#ifndef _MISC_H_
#define _MISC_H_

extern int colorAdjustEnable;
extern int color_gamma;
extern int color_brightness;
extern int color_contrast;
extern int color_grayscale;
extern int color_invert;
extern int color_sepia;

void colorAdjust(int& r, int& g, int& b);
int setBurnHighCol();
char* decorateGameName(unsigned int drv);
void recalcPalette(unsigned int* pd);
void calcColor(unsigned char* pd, const unsigned char* ps, int width, int height);
void setColorFunc();

#endif
